Custom
images can be created and edited which can be assigned to a command.
You can create custom images to assign
to a command using the Button Editor
dialog box built into the CUI Editor or
an external image editor. You can either start with an existing
button image or create your own from scratch. Custom images when
saved are by default stored in the working customization file. Saved
custom images can be exported to an external BMP file to use in
another customization file.
NoteIn releases prior
to AutoCAD 2011, custom images were stored separately from the customization
file. In AutoCAD 2011, images are now stored as part of the CUIx file
making it easier to share with others.
Custom images can be
created in two different sizes: small and large. Small images should
be 16 x 16 pixels. Large images should be 32 x 32 pixels. Images
that do not match these sizes are scaled to fit.
Show Me: Create a Custom
Image and Assign It to a Command
The following animation
shows how to create a custom image and assign it to a custom command.
Click Manage
tab Customization
panel User
Interface. At the command prompt,
enter cui.
In the Customize User Interface Editor,
Customize tab, in the Command List pane or the Customizations In <file
name> pane, click a command to display the Button
Image pane (in the upper-right corner).
In the Button Image pane, select an image
from the image list that is closest in appearance to the image you
want to create or select an existing image to edit. Click Edit.
TipIf you want to start
with a blank image, select any image from the image list under the
Button Images pane. Click Edit to display the Button Editor dialog
box. In the Button Editor dialog box, click Clear.
In the Button Editor
dialog box, use the Pencil, Line, Circle,
and Erase buttons to create or edit the button image. To change
the selected color, select a color from the color palette, or click More
to open the Select Color
dialog box.
Pencil button.
Edits one pixel at a time in the selected color. You can drag the
pointing device to edit several pixels at once.
Line button.
Creates lines in the selected color. Click and hold to set the first
endpoint of the line. Drag to draw the line. Release to complete
the line.
Circle button.
Creates circles in the selected color. Click and hold to set the
center of the circle. Drag to set the radius. Release to complete
the circle.
Erase button. Resets
the color of one pixel at a time to the default canvas color.
NoteClick Import to import
a BMP file stored on a local or network drive to edit it in the
Button Editor dialog box and store it in the working CUIx file.
Click Save.
The Save Image dialog
box is displayed.
In the Save Image dialog box, Image Name
text box, enter a name and click OK.
The image is saved to
the working CUIx file.
Click Close.
You are returned to the
Customize User Interface Editor.